package com.jshan.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jshan.blog.base.admin.entity.SysRoleDict;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface SysRoleDictMapper extends BaseMapper<SysRoleDict> {
    @Select("select role_id from sys_role_dict where tag_id = #{userTagCd}")
    Integer getRoleId(@Param("userTagCd") Integer userTagCd);
}
